package com.zjl.page;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;

public class IWantToFindPage {
    @FindBy(id = "com.example.petwithlove:id/ib_lost")
    public WebElement toFind;
    @FindBy(id="com.example.petwithlove:id/et_rescue_text")
    public WebElement text;
    @FindBy(id="com.example.petwithlove:id/et_rescue_name")
    public WebElement name;
    @FindBy(id = "com.example.petwithlove:id/et_rescue_phone")
    public WebElement phone;
    @FindBy(id="com.example.petwithlove:id/et_rescue_address")
    public WebElement address;
    @FindBy(id="com.example.petwithlove:id/btn_rescue_submit")
    public WebElement submit;
    @FindBy(id="com.example.petwithlove:id/ib_rescue_choose_photo")
    public WebElement photo;
    @FindBy(xpath="//android.widget.ImageButton[@content-desc=\"转到上一层级\"]")
    public WebElement cancel;
    @FindBy(xpath = "/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.widget.ScrollView/android.widget.LinearLayout/android.widget.LinearLayout/android.widget.LinearLayout/android.widget.Button[1]")
    public WebElement some1;
    @FindBy(xpath = "/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.view.ViewGroup/android.widget.ScrollView/android.widget.LinearLayout/android.widget.LinearLayout/android.widget.LinearLayout/android.widget.Button[1]")
    public WebElement some2;
    public IWantToFindPage(WebDriver driver) {
        PageFactory.initElements(driver,this);
    }
}
